import request from '@/utils/request'

export function chatLogin(query) {
  return request({
    url: `${process.env.VUE_APP_MODULE_ADMIN_API}/chat/login`,
    method: 'post',
    data: query
  })
}

export function chatOffline(query) {
  return request({
    url: `${process.env.VUE_APP_MODULE_ADMIN_API}/chat/offline`,
    method: 'post',
    data: query
  })
}
